-
Notifications
You must be signed in to change notification settings - Fork 1.2k
[WIP] feature: access logs in ui #10758
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #10758 +/- ##
=============================================
- Coverage 16.41% 0 -16.42%
=============================================
Files 5702 0 -5702
Lines 503405 0 -503405
Branches 60976 0 -60976
=============================================
- Hits 82626 0 -82626
+ Misses 411594 0 -411594
+ Partials 9185 0 -9185
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
This feature enables administrators to view management server logs directly in the UI through a dedicated API call. It leverages a Netty-based websocket server to stream logs in real time, offering an efficient way to monitor and debug server operations. Note that the plugin is disabled by default and must be enabled manually. Signed-off-by: Abhishek Kumar <[email protected]>
Signed-off-by: Abhishek Kumar <[email protected]>
Signed-off-by: Abhishek Kumar <[email protected]>
Signed-off-by: Abhishek Kumar <[email protected]>
Signed-off-by: Abhishek Kumar <[email protected]>
722bc7c
to
58c0d36
Compare
This pull request has merge conflicts. Dear author, please fix the conflicts and sync your branch with the base branch. |
This pull request has merge conflicts. Dear author, please fix the conflicts and sync your branch with the base branch. |
This pull request has merge conflicts. Dear author, please fix the conflicts and sync your branch with the base branch. |
Interesting feature, @shwstppr. I have not checked the code yet and perhaps you already addressed that, but the feature will be available only for root admins, right? |
@GutoVeronezi I've added role access for the API that creates the websocket endpoint, https://github.com/apache/cloudstack/pull/10758/files#diff-927a5c1f575fdc21fae04477b5df98e431353a755fda6b9f5ae27175f907a4eeR47, but I'm looking into more ways to control & secure the access. |
Signed-off-by: Abhishek Kumar <[email protected]>
Closing this for now. Will revisit later. |
Description
WIP. More details to be added
This feature enables administrators to view management server logs directly in the UI through a dedicated API call. It leverages a Netty-based websocket server to stream logs in real time, offering an efficient way to monitor and debug server operations. Note that the plugin is disabled by default and must be enabled manually.
Types of changes
Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale
Bug Severity
Screenshots (if appropriate):
Logs-UI-Demo.mp4
How Has This Been Tested?
How did you try to break this feature and the system with this change?